package com.hiwan.unions.activity.membership;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.hiwan.unions.R;
import com.hiwan.unions.activity.base.RootActivity;

/**
 * Created by llg on 2017/7/8.
 */
public class MembershipSqActivity extends RootActivity {
    private String titles, real;

    public static void startPreview(Context context, String title, String real) {
        Intent intent = new Intent(context, MembershipSqActivity.class);
        Bundle bundle = new Bundle();
        bundle.putString("title", title);
        bundle.putString("real", real);
        intent.putExtras(bundle);
        context.startActivity(intent);
    }

    protected int getLayout() {
        return R.layout.activity_sq_mem;
    }

    @Override
    protected void initData() {
        bundle = getIntent().getExtras();
        titles = bundle.getString("title");
        real = bundle.getString("real");
        setTitleTxt(titles);
    }

    @Override
    protected void onViewCreated() {
        super.onViewCreated();


    }


    @Override
    protected void IntentConfirm() {
        super.IntentConfirm();
        MembershipActivity.startPreview(this, real, titles, false);
    }
}
